﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Core
{
    public class Constants
    {
        public static string ACTION_CREATE = "CREATE";
        public static string ACTION_UPDATE = "UPDATE";
        public static string ACTION_DELETE = "DELETE";
        public static string ACTION_READ = "READ";

        /// <summary>
        /// Key mã hóa password - 24 kí tự là bắt buộc
        /// </summary>
        public static string ENCRYPT_DECRYPT_KEY = "232343224543223454324675";

        /// <summary>
        /// Tên các sesstion
        /// </summary>
        public static string session_user_id = "USER_ID";
        public static string session_user_department = "USER_DEPARTMENT";
        public static string session_user_name = "USER_NAME";
        public static string session_full_name = "FULL_NAME";
        public static string session_vaitroquanly_id = "VAITROQUANLY_ID";
        public static string session_donviquanly_id = "DONVIQUANLY_ID";
        public static string session_imglogo = "IMGLOGO";
        public static string session_tendoanhnghiep = "sTENDOANHNGHIEP";
        public static string session_top_menu = "TOP_MENU";

        public Constants()
        {
        }

        public enum DatabaseChange : short
        {
            NO_CHANGE = 0,
            INSERT = 1,
            UPDATE = 2,
            DELETE = 3
        }
    }
}
